package com.sc.nft.entity.vo.merchantPledgeTask;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class GetTaskDetailsVO {

    @ApiModelProperty(value = "质押任务id")
    private Long id;

    @ApiModelProperty(value = "活动名称")
    private String pledgeName;

    @ApiModelProperty(value = "活动封面")
    private String activityCover;

    @ApiModelProperty(value = "活动详情图片")
    private String activityDetailsImage;

    @ApiModelProperty(value = "规则说明")
    private String ruleSpecification;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "开始时间戳")
    private Long beginTimeStamp;

    @ApiModelProperty(value = "结束时间戳")
    private Long endTimeStamp;

    @ApiModelProperty(value = "当前时间戳")
    private Long nowTimeStamp;

    @ApiModelProperty(value = "排序: 越大越靠前")
    private Boolean isShow;

    @ApiModelProperty(value = "挖宝上限")
    private Integer upperLimit;

    @ApiModelProperty(value = "剩余数量")
    private Integer remainingCount;

    @ApiModelProperty(value = "质押总数")
    private Integer pledgeSumCount;

    @ApiModelProperty(value = "个人上限")
    private Integer userCount;

    @ApiModelProperty(value = "条件列表")
    private List<TaskDetailsCollectionConfVO> collectionConfList;

    @ApiModelProperty(value = "周期")
    private List<PledgeTaskCycleConfDetailsVO> cycleDetailsList;

}
